//
//  EditTravelDetailViewController.h
//  lvtu
//
//  Created by Apple on 12-6-28.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseViewController.h"
#import "NetDataSource.h"
#import "DataSource.h"
#import "EGOImageView.h"
#import "DetailCell.h"
#import "EventViewController.h"
#import "EventEditViewController.h"

@interface EditTravelDetailViewController : BaseViewController<DataSourceDelegate,UIActionSheetDelegate,UINavigationControllerDelegate,UIImagePickerControllerDelegate,UITextFieldDelegate,DetailCellDelegate,AddEventCellProtocol,EventEditViewControllerProtocol>
{
    UIScrollView* backgroundScrollView;
    
    TripInfo* tripinfo;
    
    EGOImageView* _newHeadPic;
    BOOL isPicSelect;
    
    UITextField* nameTextField;
    UITextField* detailTestField;
    
    UILabel* dateShowLabel;
    UIImageView* backgroudImageView;
    UIDatePicker* datePickerView;
    
    UIAlertView* baseAlert;
    
    NSMutableArray* delEventArray;
    NSString* dateBeforeChange;
    
    BOOL isDateChange;
    BOOL isNeedDisPlay;
    
    NSInteger dateIndex;
    EventEditViewController* eventEditController;
}

@property (nonatomic, retain)TripInfo* tripinfo;

- (id)initWithTravel:(TripInfo*) info;
- (void)nextButtonPressed;

@end
